Change-Id: I341720fda0d242c7822f78048cb49f63538d08bc
* @return string
*/
private function getCacheKey( $property ) {
* @return string
*/
private function getCacheKey( $property ) {
- list( $db, $prefix ) = wfSplitWikiID( $this->wiki );
$cluster = is_string( $this->cluster ) ? $this->cluster : 'main';
$cluster = is_string( $this->cluster ) ? $this->cluster : 'main';
- return wfForeignMemcKey( $db, $prefix, 'jobqueue', $cluster, $this->type, $property );
+ return $this->cache->makeGlobalKey(
+ 'jobqueue', $this->wiki, $cluster, $this->type, $property );